﻿namespace YFurion.Application
{
    /// <summary>
    /// A shortcut of <see cref="IEntityDto{TKey}"/> for most used key type (<see cref="long"/>).
    /// </summary>
    public interface IEntityDto : IEntityDto<long>
    {
    }

    /// <summary>
    /// Defines common properties for entity based DTOs.
    /// </summary>
    /// <typeparam name="TKey"></typeparam>
    public interface IEntityDto<TKey>
    {
        /// <summary>
        /// Id of the entity.
        /// </summary>
        TKey Id { get; set; }
    }
}
